/*
** my_strcat.c for minishell2 in /home/lingla_j/work/tutorat/env
** 
** Made by julien linglain
** Login   <lingla_j@epitech.net>
** 
** Started on  Tue Feb 28 18:10:45 2012 julien linglain
** Last update Thu Mar 22 16:01:27 2012 julien linglain
*/

#include "mysh.h"

char	*my_strcat(char *str1, char *str2)
{
  int	i;
  int	j;

  i = 0;
  j = my_strlen(str1);
  while (str2[i] != '\0')
    {
      str1[j] = str2[i];
      i = i + 1;
      j = j + 1;
    }
  str1[j] = '\0';
  return (str1);
}
